﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CardLogistics.Model.Ordering
{
    /// <summary>
    /// 卡片订单台帐_实体类
    /// </summary>
    [Serializable]
    public partial class Ordering_CardBill
    {
        public Ordering_CardBill()
        { }
        #region Model
      private string _id= "sys_guid";
		private string _demandid;
		private string _conid;
		private DateTime? _signdate;
		private DateTime? _bedate;
		private string _orderid;
		private string _batchno;
		private DateTime? _orderdata;
        private DateTime? _getdata;
		private decimal? _boxnumber;
		private decimal? _cardnumber;
		private decimal? _ordernumber;
		private decimal? _unitprice;
		private decimal? _totalprice;
        private decimal? _orderstatus;
		private string _remark;
		private string _lastupdateuser;
		private DateTime? _lastupdatedate;

        #region 便于查询字段
        private string _billno; //需求编号
        private string _PConNo; //合同编号
        private string _OrderNo; //订单编号
        #endregion

        /// <summary>
		/// 主键ID
		/// </summary>
		public string ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 需求单ID
		/// </summary>
		public string DEMANDID
		{
			set{ _demandid=value;}
			get{return _demandid;}
		}
		/// <summary>
		/// 合同ID
		/// </summary>
		public string CONID
		{
			set{ _conid=value;}
			get{return _conid;}
		}
		/// <summary>
		/// 签定日期
		/// </summary>
		public DateTime? SIGNDATE
		{
			set{ _signdate=value;}
			get{return _signdate;}
		}
		/// <summary>
		/// 有效期
		/// </summary>
		public DateTime? BEDATE
		{
			set{ _bedate=value;}
			get{return _bedate;}
		}
		/// <summary>
		/// 订单ID
		/// </summary>
		public string ORDERID
		{
			set{ _orderid=value;}
			get{return _orderid;}
		}
		/// <summary>
		/// 批次号
		/// </summary>
		public string BATCHNO
		{
			set{ _batchno=value;}
			get{return _batchno;}
		}
		/// <summary>
		/// 订货日期
		/// </summary>
		public DateTime? ORDERDATA
		{
			set{ _orderdata=value;}
			get{return _orderdata;}
		}
		/// <summary>
		/// 需货日期
		/// </summary>
        public DateTime? GETDATA
		{
            set { _getdata = value; }
            get { return _getdata; }
		}
		/// <summary>
		/// 箱数
		/// </summary>
		public decimal? BOXNUMBER
		{
			set{ _boxnumber=value;}
			get{return _boxnumber;}
		}
		/// <summary>
		/// 盒数
		/// </summary>
		public decimal? CARDNUMBER
		{
			set{ _cardnumber=value;}
			get{return _cardnumber;}
		}
		/// <summary>
		/// 订单数量
		/// </summary>
		public decimal? ORDERNUMBER
		{
			set{ _ordernumber=value;}
			get{return _ordernumber;}
		}
		/// <summary>
		/// 单价
		/// </summary>
		public decimal? UNITPRICE
		{
			set{ _unitprice=value;}
			get{return _unitprice;}
		}
		/// <summary>
		/// 总价
		/// </summary>
		public decimal? TOTALPRICE
		{
			set{ _totalprice=value;}
			get{return _totalprice;}
		}
		/// <summary>
		/// 订单状态
		/// </summary>
		public decimal? ORDERSTATUS
		{
			set{ _orderstatus=value;}
			get{return _orderstatus;}
		}
		/// <summary>
		/// 备注
		/// </summary>
		public string REMARK
		{
			set{ _remark=value;}
			get{return _remark;}
		}
		/// <summary>
		/// 最后修改人
		/// </summary>
		public string LASTUPDATEUSER
		{
			set{ _lastupdateuser=value;}
			get{return _lastupdateuser;}
		}
		/// <summary>
		/// 最后修改时间
		/// </summary>
		public DateTime? LASTUPDATEDATE
		{
			set{ _lastupdatedate=value;}
			get{return _lastupdatedate;}
		}
        #region 便于查询字段
        /// <summary>
        /// 需求编号
        /// </summary>
        public string Billno
        {
            get { return _billno; }
            set { _billno = value; }
        }
        /// <summary>
        /// 合同编号
        /// </summary>
        public string PConNo
        {
            get { return _PConNo; }
            set { _PConNo = value; }
        }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderNo
        {
            get { return _OrderNo; }
            set { _OrderNo = value; }
        }
        #endregion

        #endregion Model
    }
}
